package com.sfdk.data {
    import com.sfdk.io.GenericIO;
    import com.sfdk.pools.BitmapDataPool;
    import com.sfdk.pools.WaveSoundPool;

    import flash.events.SampleDataEvent;

    import flash.media.Sound;
    import flash.utils.ByteArray;

    import org.as3wavsound.WavSound;

    public class WaveSoundEx extends GenericIO {

        public function WaveSoundEx(filePath:String = null) {
            super(filePath, GenericIO.DATA_FILE);
        }

        override protected function init():void {
            super.init();
            var wavSound:WavSound = new WavSound(_fileData);
            WaveSoundPool.instance.addToPool(wavSound, _fileLocation);
        }
    }
}